package myPack.GMAO.Interface;

import java.util.List;

import javax.ejb.Remote;

import myPack.GMAO.Entity.Privilege;
import myPack.GMAO.Entity.User;

@Remote
public interface UserInterface
{
	public void ajouter(User u);
	public void supprimer(int id);
	public User rechercher(int id);
	public List<User> lister();
	public void modifier(int id,String log,String psw ,Privilege p);
	public User connexion(String log,String psw);
}
